AI-based medical device for aided diagnosis in Dermatology